package alkaid.eis.schedule.controller;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import alkaid.eis.schedule.domain.JobLog.Level;
import lombok.Data;

/**
 * 任务日志传输对象
 *  
 * @author Lucky Yang
 * @since 0.0.1
 */
@Data
public class JobLogDto {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Date createTime;
    /** 任务说明 */
    private String jobDesc;
    private Level level;
    private String message;
}
